<div class="bottom"><icon src="AllIcons.Nodes.Class"/>&nbsp;<a href="psi_element://Umber"><code>Umber</code></a></div><div class='definition'><pre><span style="color:#914c07;">toHex</span><span style="">(<br></span><span style="">&#32;&#32;&#32;&#32;_digits?:&#32;</span><span style="color:#000080;">number</span><span style="">,<br></span><span style="">):&#32;</span><span style="color:#000080;">string</span>
[ide]
<span style="color:#914c07;">toHex</span><span style="">(<br></span><span style="">&#32;&#32;&#32;&#32;_digits?:&#32;</span><span style="color:#000080;">number</span><span style="">,<br></span><span style="">):&#32;</span><span style="color:#000080;">string</span></pre></div><div class='content'><p>Returns a string representing an umber in CSS hex notation.</div><table class='sections'><tr><td valign='top' class='section'><p>Params:</td><td valign='top'><p>_digits &ndash; Number of digits after the hash. Must be in the range 6-6, inclusive.</td><tr><td valign='top' colspan='2'><icon src='AllIcons.FileTypes.JavaScript'/>&nbsp;QualifiedReferenceToMethod.svelte</td></table>